178
R. O. Ogundokun et al.
Fig. 3 Improved KNN confusion matrix
Table 1 Confusion matrix for the classifiers
Classifier
TP
TN
FP
FN
Traditional KNN
39
10
11
0
Improved KNN
38
20
1
1
Table 2 Comparative
analysis between the
classifiers
Measure
T-KNN
I-KNN
Accuracy
81.7%
96.7%
Detection rate
100%
97.4%
False-positive rate
0.22
0.048
References
1. Diedrich H (2016) Ethereum—Blockchains, digital assets, smart contracts, decentralized
autonomous organizations. Wildfire Publishing, Washington, DC
2. Salah K, Rehman MH, Nizamuddin N, Al-Fuqaha A (2019) Blockchain for AI: review and open
research challenges. IEEE Access 7:10127–10149. https://doi.org/10.1109/ACCESS.2018.289
0507